package dem02;
import java.io.*;

public class two77 {
    public static void main(String[] args) throws  Exception{
        File file=new File("D:"+File.separator+"muyan"+File.separator+"vip"+File.separator+"dem02.txt");
        if(!file.getParentFile().exists()){
            file.getParentFile().mkdirs();
        }
        OutputStream output =new FileOutputStream(file);
        String message="www.yootk,com";
        byte data[]=message.getBytes();
        output.write(data);
        output.close();
    }
}
